home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 34.zip
/
BS1 part 34
/
FredFish PD 314.adf
/
Zc
/
zcsrc.lzh
/
IOLib
/
strlib
/
strnicmp.c
< prev
next >
Wrap
Text File
|
1988-11-09
|
233b
|
12 lines
int strnicmp(str1, str2, limit)
register char *str1, *str2;
register int limit;
{
register char c1, c2;
while(((c1 = tolower(*str1++)) == (c2 = tolower(*str2++))) && --limit)
if(c1 == '\0')
return(0);
return(c1 - c2);
}